package com.yehongyu.mytools.core.reflect;

import java.lang.reflect.Array;

class MyClass {

	public static int i;
	
	public MyClass(){
		System.out.print(" all");
	}
	public MyClass(int y){
		//this();
		System.out.print(" good");
	}
	
}
public class SubClass extends MyClass{
	public SubClass(int y){
		super(10);
		System.out.print(" things");
	}
	public SubClass(){
		
	}
	public int a = 1;
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		SubClass subClass = new SubClass();
		System.out.println(subClass.getClass().getFields().length);
//		System.out.print(subClass.a);
//		subClass.modify(subClass);
//		System.out.print(subClass.a);
		
	}
	public void modify(SubClass subClass){
		subClass.a = subClass.a + 1;
	}
	public void sortList(Array array){
		
	}
}
